<ul>
	<li <?php if($this->_tpl_vars['path']=='index'){ ?>class="hover2"<?php } ?>><a class="toplink" href="<?php echo $this->_tpl_vars['homelink'] ?>">Home</a></li>
	<?php if (count($this->_tpl_vars['menu'])>0){$divid_i=1;for($i=0;$i<count($this->_tpl_vars['menu']); $i++){?>
	<li <?php if($this->_tpl_vars['menu'][$i]['path']==$this->_tpl_vars['path'] && $this->_tpl_vars['menu'][$i]['current']==$this->_tpl_vars['current']){ ?>class="hover2"<?php } ?>>
		<a class="toplink" title="<?php echo $this->_tpl_vars['menu'][$i]['title'] ?>" href="<?php echo $this->_tpl_vars['menu'][$i]['link'] ?>"><?php echo $this->_tpl_vars['menu'][$i]['title'] ?></a>
	</li>
	<?php }} ?>
</ul>
